package com.ctms.system.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class UserDO implements Serializable {
	private static final long serialVersionUID = 1L;
	//用户id
	private Long userId;
	// 用户名或者学号
	private String username;
	// 用户真实姓名
	private String name;
	// 密码
	private String password;
	// 邮箱
	private String email;
	// 手机号
	private String mobile;
	// 状态 0:禁用，1:正常
	private Integer status;
	// 创建用户id
	private Long userIdCreate;
	// 创建时间
	private String  gmtCreate;
	// 修改时间
	private String gmtModified;
	//角色
	private List<Long> roleIds;
	private Integer roleId;

	private String roleName;
	//身份标识，0表示超级管理员，1表示教师，2表示学生
	private Integer identity;
	//性别，0表示男，1表示女
	private Integer sex;
	//教师来源，0表示校内，1表示校外
	private Integer teacherFrom;
	//校内教师所属学院
	private String teacherCollege;
	//校外教师所属公司或机构
	private String teacherCompany;
	//教师信息的简短描述
	private String teacherDescription;
	//学生所在班级
	private String studentClass;
	//学生已选课程
	private String studentCourse;


	//额外属性
	private String courseName;
	private Integer score;

	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	/**
	 * 设置：
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}

	/**
	 * 获取：
	 */
	public Long getUserId() {
		return userId;
	}

	/**
	 * 设置：用户名
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * 获取：用户名
	 */
	public String getUsername() {
		return username;
	}
	

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 设置：密码
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * 获取：密码
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * 设置：邮箱
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * 获取：邮箱
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * 设置：手机号
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * 获取：手机号
	 */
	public String getMobile() {
		return mobile;
	}

	/**
	 * 设置：状态 0:禁用，1:正常
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * 获取：状态 0:禁用，1:正常
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * 设置：创建用户id
	 */
	public void setUserIdCreate(Long userIdCreate) {
		this.userIdCreate = userIdCreate;
	}

	/**
	 * 获取：创建用户id
	 */
	public Long getUserIdCreate() {
		return userIdCreate;
	}

	/**
	 * 设置：创建时间
	 */
	public void setGmtCreate(String gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	/**
	 * 获取：创建时间
	 */
	public String getGmtCreate() {
		return gmtCreate;
	}

	/**
	 * 设置：修改时间
	 */
	public void setGmtModified(String gmtModified) {
		this.gmtModified = gmtModified;
	}

	/**
	 * 获取：修改时间
	 */
	public String getGmtModified() {
		return gmtModified;
	}

	public List<Long> getroleIds() {
		return roleIds;
	}

	public void setroleIds(List<Long> roleIds) {
		this.roleIds = roleIds;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Integer getIdentity() {
		return identity;
	}

	public void setIdentity(Integer identity) {
		this.identity = identity;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Integer getTeacherFrom() {
		return teacherFrom;
	}

	public void setTeacherFrom(Integer teacherFrom) {
		this.teacherFrom = teacherFrom;
	}

	public String getTeacherCollege() {
		return teacherCollege;
	}

	public void setTeacherCollege(String teacherCollege) {
		this.teacherCollege = teacherCollege;
	}

	public String getTeacherCompany() {
		return teacherCompany;
	}

	public void setTeacherCompany(String teacherCompany) {
		this.teacherCompany = teacherCompany;
	}

	public String getTeacherDescription() {
		return teacherDescription;
	}

	public void setTeacherDescription(String teacherDescription) {
		this.teacherDescription = teacherDescription;
	}

	public String getStudentClass() {
		return studentClass;
	}

	public void setStudentClass(String studentClass) {
		this.studentClass = studentClass;
	}

	public String getStudentCourse() {
		return studentCourse;
	}

	public void setStudentCourse(String studentCourse) {
		this.studentCourse = studentCourse;
	}

	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
}
